ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

Compare Side-By-Side

by kaste ALL Top 100

Compare anything, side-by-side, in a split view

Details

  • 1.25.0
    1.20.3
  • github.​com
  • github.​com
  • 4 weeks ago
  • 6 hours ago
  • 12 years ago

Installs

  • Total 373K
  • Win 201K
  • Mac 124K
  • Linux 48K
Nov 4 Nov 3 Nov 2 Nov 1 Oct 31 Oct 30 Oct 29 Oct 28 Oct 27 Oct 26 Oct 25 Oct 24 Oct 23 Oct 22 Oct 21 Oct 20 Oct 19 Oct 18 Oct 17 Oct 16 Oct 15 Oct 14 Oct 13 Oct 12 Oct 11 Oct 10 Oct 9 Oct 8 Oct 7 Oct 6 Oct 5 Oct 4 Oct 3 Oct 2 Oct 1 Sep 30 Sep 29 Sep 28 Sep 27 Sep 26 Sep 25 Sep 24 Sep 23 Sep 22 Sep 21 Sep 20
Windows 24 36 23 10 12 25 26 28 30 30 12 15 28 36 38 32 26 18 9 24 38 32 36 27 13 13 46 42 31 29 32 9 5 23 25 26 43 42 8 10 24 33 34 38 22 19
Mac 28 21 13 4 5 15 19 21 26 19 6 14 11 20 27 29 17 3 10 23 29 21 19 23 6 11 23 21 34 23 15 9 6 19 17 19 28 30 8 8 24 25 31 36 32 6
Linux 5 8 2 0 3 9 7 3 3 6 1 4 8 1 8 4 4 1 5 9 7 11 3 9 1 3 4 4 9 8 10 4 2 4 5 3 3 5 4 3 6 2 6 5 11 1

Readme

Source
raw.​githubusercontent.​com

Compare Side-By-Side

This package adds a simple side-by-side comparison tool to Sublime Text. Here is us on Package Control and here on GitHub.

Features

  • Easily select two tabs or selections to compare
  • Comparison results open in a new window
  • Empty lines added so common code lines up
  • Count number of lines changed
  • Highlighting of changed lines
  • Intra-line diff highlighting
  • Synchronized scrolling

Installation Options

  • Search for and install using Package Control (ctrl+shift+P, “Install Package”)
  • Clone or extract this repo to a new folder in your Sublime 'Packages' folder
    (Preferences -> Browse Packages)

Usage Options

  • Right click on a tab and select “Compare with…”
  • Right click somewhere in the active view and select “Compare with…”
  • Right click on a tab and select “Compare with active tab”
  • Highlight text, right click -> “Mark selection for comparison” Mark a second selection, then right click -> “Compare selections”
  • Create two selections by holding CTRL, then “Compare selections”
  • Right click in the active view (or use the Command Palette) and select “Compare with clipboard” to compare the whole view with the clipboard contents
  • From the command line: see README_COMMANDS.md
  • Jump around: , or .. But also: Jump to next: alt+n, jump to previous: alt+p

Configuration

  • The standard diff scopes/colors are used, these are diff.inserted.sbs-compare, diff.inserted.char.sbs-compare, diff.deleted.sbs-compare, diff.deleted.char.sbs-compare. Note that I just added the suffix “.sbs-compare” to them. You can change the colors in your color scheme (ctrl+shift+P, “UI: Customize Color Scheme”).
  • Other options can be configured in SBSCompare.sublime-settings To access: Preferences -> Package Settings -> Compare Side-By-Side

License & Contributing